From 9020b5bd17889e1343890d124c52cd07fadf0b5b Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sat, 5 Sep 2015 06:46:29 +0200 Subject: [PATCH] stylecontext: Remove line that is a no-op Creating the transient node will already copy the widget type. So copying again will not do anything. --- gtk/gtkstylecontext.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c index e266e00e90..b359612903 100644 --- a/gtk/gtkstylecontext.c +++ b/gtk/gtkstylecontext.c @@ -1233,7 +1233,6 @@ gtk_style_context_save (GtkStyleContext *context) cssnode = gtk_css_transient_node_new (priv->cssnode); gtk_css_node_set_parent (cssnode, gtk_style_context_get_root (context)); - gtk_css_node_set_widget_type (cssnode, gtk_css_node_get_widget_type (priv->cssnode)); priv->saved_nodes = g_slist_prepend (priv->saved_nodes, priv->cssnode); priv->cssnode = cssnode; -- 2.30.2